.video-player {
  position: relative;
  width: 800px;
  height: 450px;
  background-color: #353535;
}

.video-player_video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
}

.video-player canvas {
  display: none;
  margin: auto;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}

.video-player_controls {
  position: absolute;
  z-index: 0;
  bottom: 0;
  left: 0;
  padding: 10px;
  width: 100%;
  display: flex;
  align-items: center;
  opacity: 0;
}

.video-player_controls:hover {
  opacity: 1;
}

.video-player_control-btn {
  margin: 0 10px;
}

.video-player_progress-bar {
  flex: 0 1 50%;
  height: 5px;
  background-color: #ccc;
  overflow: hidden;
}
.video-player_controls span {
  color: #fff;
  margin: 0 5px;
}

.video-player_progress {
  height: 100%;
  background-color: #1e80ff;
}

.video-player_volume-bar {
  margin-left: 20px;
  position: relative;
}

.video-player_danmu-container {
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  height: 80%;
  overflow: hidden;
}

.video-player_danmu {
  position: absolute;
  white-space: nowrap;
}

.video-player_danmu-input {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.video-player_controls button{
  padding: 0;
  background-color: #fff;
  box-sizing: border-box;
  cursor: pointer;
}

.video-player_controls .play{
  border-style: solid;
  border-width: 7px 0 7px 8px;
  border-color: transparent transparent transparent black;
  background-color: transparent;
}

.video-player_controls .pause{
  width: 13px;
  height: 13px;
  border-style: double;
  border-width: 0px 0px 0px 10px;
  background-color: transparent;
}
